Entry
Base entry class for list widget entries. This is typically built using a BiFunction that supplies the parentElement and an entry index
Author
fzzyhmstrs
Since
0.6.0
Parameters
The DynamicListWidget this entry belongs to.
Translatable.Result text set for this entry. This is used when searching entries.
Scope defines the entries personal scope as well as any entry groups this entry owns and/or belongs to. Basic entries will only need to provide the personal scope id, which might be as simple as the index in string form.
Visibility, default Visibility.VISIBLE. The starting visibility setting for the entry.
Inheritors
Constructors
Types
Properties
Functions
Append narration messages to current NarrationMessageBuilder. The list will handle list position and navigation, the entry should focus on providing title and description information, and internal navigation information as applicable (if there are multiple children in one entry for example)
Handle a context event. This will be triggered by a parent, typically on key press or mouse click. A parent object can of course also be a context handler, handle context as applicable and then pass the event downstream for further handling.
Indicates that the overlay has been removed and the parent should return focus to the cached element, if any, in lastSelected
Add a set of grouped context action builders to a result
Indicates to the parent element to cache it's current focused element. The current focused element should be stored in lastSelected
Render call for rendering anything else related to the entry. This call is not bound by a render scissor, so you can draw "out of bounds" as needed.
When called the parent element should reselect a hovered element based on the supplied mouse positions, if it tracks such things
The children of the entry that comply to SelectableElement, that is both Selectable and an Element